'use strict';
module.exports = app => {
 class SuperviseService extends app.Service {
     /* 座位监督 */
     async supervise(uid, sid, fid) {
        var mDate = new Date();
        const date = mDate.toLocaleString( ); 
        const result = await this.app.mysql.insert("supervise",{uid, sid,fid,date})
        return {result}
     }
 }
 return SuperviseService;
};
